package com.umpay.dto.merBusi.req.bindcard;


import org.hibernate.validator.constraints.NotEmpty;

import com.umpay.annotation.Pattern;
import com.umpay.dto.merBusi.req.CommonBusiReq;

/* ******************  类说明  *********************
 * class       :  AgreementOrderReq
 * @author     :  ncc
 * @date       :  2018年8月21日 下午6:21:36
 * @version    :  1.0  
 * description :  商业委托协议支付签约下单请求类
 * @see        :                        
 * ************************************************/   
public class AgreementOrderReq extends CommonBusiReq{
	/**
	 * 商户号
	 */
	@NotEmpty(message = "商户号不能为空")
	@Pattern(message="商户号格式不正确")
	private String merId;
	
	/**
	 * 业务产品号
	 */
	@NotEmpty(message = "业务产品号不能为空")
	@Pattern(message="业务产品号格式不正确")
	private String bProductId;
	
	/**
	 * 支付 产品号
	 */
	@NotEmpty(message = "支付产品号不能为空")
	@Pattern(message="支付产品号格式不正确")
	private String pProductId;
	
	/**
	 * 商户订单号
	 */
	@NotEmpty(message = "商户订单号不能为空")
	@Pattern(message="商户订单号格式不正确")
	private String orderId;
	
	/**
	 * 商户订单日期
	 */
	@NotEmpty(message = "商户订单日期不能为空")
	@Pattern(message="商户订单日期格式不正确")
	private String orderDate;
	
	/**
	 * 子商户编号
	 */
	@NotEmpty(message = "子商户编号不能为空")
	@Pattern(message="子商户编号格式不正确")
	private String merCustId;
	/**
	 * 卡号
	 */
	@NotEmpty(message = "卡号不能为空")
	@Pattern(message="卡号格式不正确")
	private String cardId;
	/**
	 * 姓名
	 */
	@NotEmpty(message = "姓名不能为空")
	@Pattern(message="姓名格式不正确")
	private String cardHolder;
	
	/**
	 * 证件类型
	 */
	@NotEmpty(message = "证件类型不能为空")
	@Pattern(message="证件类型格式不正确")
	private String identityType;
	
	/**
	 * 证件号
	 */
	@NotEmpty(message = "证件号不能为空")
	@Pattern(message="证件号格式不正确")
	private String 	identityCode;

	/**
	 * 银行预留手机号
	 */
	@NotEmpty(message = "银行预留手机号不能为空")
	@Pattern(message="银行预留手机号格式不正确")
	private String bankMobileId;
	
	public String getMerId() {
		return merId;
	}

	public void setMerId(String merId) {
		this.merId = merId;
	}

	public String getbProductId() {
		return bProductId;
	}

	public void setbProductId(String bProductId) {
		this.bProductId = bProductId;
	}

	public String getpProductId() {
		return pProductId;
	}

	public void setpProductId(String pProductId) {
		this.pProductId = pProductId;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getOrderDate() {
		return orderDate;
	}

	public void setOrderDate(String orderDate) {
		this.orderDate = orderDate;
	}

	public String getCardId() {
		return cardId;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	public String getBankMobileId() {
		return bankMobileId;
	}

	public void setBankMobileId(String bankMobileId) {
		this.bankMobileId = bankMobileId;
	}

	public String getMerCustId() {
		return merCustId;
	}

	public void setMerCustId(String merCustId) {
		this.merCustId = merCustId;
	}

	public String getCardHolder() {
		return cardHolder;
	}

	public void setCardHolder(String cardHolder) {
		this.cardHolder = cardHolder;
	}

	public String getIdentityType() {
		return identityType;
	}

	public void setIdentityType(String identityType) {
		this.identityType = identityType;
	}

	public String getIdentityCode() {
		return identityCode;
	}

	public void setIdentityCode(String identityCode) {
		this.identityCode = identityCode;
	}

	@Override
	public String toString() {
		return super.toString() + "AgreementOrderReq [merId=" + merId + ", bProductId=" + bProductId + ", pProductId=" + pProductId
				+ ", orderId=" + orderId + ", orderDate=" + orderDate + ", merCustId=" + merCustId + ", cardId=" + cardId + ", cardHolder=" + cardHolder
				+ ", identityType=" + identityType + ", identityCode=" + identityCode + ", bankMobileId=" + bankMobileId
				+ "]";
	}
}
